Skip to content

docs(fleet): dispatch-first guidance for remote builds and tests - #13128

Merged
dezren39 merged 1 commit into
mainfrom
docs/dispatch-first-20261123
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
docs/dispatch-first-20261123

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What

Makes the agent-facing documentation dispatch-first, matching Drew's 2026-11-23 order: builds, tests, and other CPU-heavy work are dispatched to the fleet's GitHub Actions runner pools instead of being compiled on sandboxes or the laptop.

The dispatch surface itself already exists and was verified end-to-end on 2026-11-23 (from the laptop): fleet queue dispatch --repo developing-today/code --ref main --command "echo fleet-dispatch-proof && git rev-parse HEAD" --dispatch --json placed the job on the dezren39/fleet surface because the developing-today owner showed 62 active jobs against its cap of 20 (run 45139454074, completed/success; session record readable via fleet queue session result).

Changes

  • pkgs/fleet/doc/agents/remote-build-and-test.md — new "dispatch first" rule section (push → dispatch with the ref → poll the session → logs from the run), the fleet shell --target actions form, and an "other dispatch routes" section covering fleet dispatch-test and raw gh workflow run dispatch.
  • doc/agents/owner-preferences.md — CI-first and build-discipline bullets lead with remote dispatch; laptop build-lock discipline kept as the fallback for jobs that must run on the laptop (NixOS builds, stateful/secret-bearing checks, quick single-binary checks).
  • AGENTS.md — short text updated to match; 7,981 bytes, inside the 8,000-byte budget; scripts/research_workflow.py check passes.

Sandbox-seat reachability of the verbs is tracked separately in #13122.


Run Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The remote dispatch surface (fleet queue dispatch / session, fleet
shell --target actions, placement across the org and personal pools)
is landed and verified, but the agent-facing docs still framed the
laptop build lock as the primary route for heavy work.

- Runbook: add the dispatch-first rule (push, dispatch with the ref,
  poll the session, read logs from the run), the fleet shell actions
  target, and the other dispatch routes (dispatch-test, raw workflow
  dispatch) with their tracking commands.
- owner-preferences: CI-first and build-discipline bullets now lead
  with remote dispatch; the laptop build-lock discipline remains as
  the fallback for jobs that must run on the laptop.
- AGENTS.md: short text matches (still inside the size budget;
  scripts/research_workflow.py check passes).

Refs the sandbox-seat reachability gap recorded in #13122.
@dezren39
dezren39 merged commit 8f2947d into main Nov 23, 2026
1 check passed
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9b7a9e3a-ec23-4e02-a0bc-a9c363a5ba3f
Commits

Reviewing files that changed from the base of the PR and between 5a098de and e5f19bd.

Files selected for processing: 3

  • AGENTS.md
  • doc/agents/owner-preferences.md
  • pkgs/fleet/doc/agents/remote-build-and-test.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 deleted the docs/dispatch-first-20261123 branch November 23, 2026 08:41
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T08:45:23.519747Z e5f19bd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant